]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overviewControls: Move reactive flag to main actor
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 18 May 2013 18:59:57 +0000 (20:59 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 18 May 2013 19:07:41 +0000 (21:07 +0200)
The main overview actor was made reactive to catch scroll-events
and propagate them; after some code shuffling, the actor that
catches scroll events ended up not being the same actor that's
supposed to propagate this, which broke using the scroll wheel
to switch workspaces.

https://bugzilla.gnome.org/show_bug.cgi?id=700595

js/ui/overviewControls.js

index 313c4501dd39feb89ef4d3b75f079ecbd9ef16e8..33690d7dab9d61f81173d92c0f917b4cdde67b4c 100644 (file)
@@ -506,10 +506,10 @@ const ControlsManager = new Lang.Class({
         this.indicatorActor = this._indicator.actor;
 
         this.actor = new St.Widget({ layout_manager: new Clutter.BinLayout(),
+                                     reactive: true,
                                      x_expand: true, y_expand: true,
                                      clip_to_allocation: true });
         this._group = new St.BoxLayout({ name: 'overview-group',
-                                        reactive: true,
                                         x_expand: true, y_expand: true });
         this.actor.add_actor(this._group);